//
//  TGDistrictMenuItem.m
//  GroupBuy
//
//  Created by wwj on 15/11/4.
//  Copyright © 2015年 wwj. All rights reserved.
//

#import "TGDistrictMenuItem.h"
#import "TGDistrictModel.h"

@implementation TGDistrictMenuItem
-(void)setModel:(TGDistrictModel *)model{
    _model = model;
    [self setTitle:model.name forState:UIControlStateNormal];
}

-(NSArray *)titleArray{
    return _model.neighborhoods;
}
@end
